package org.ogv.usada.models;

import org.ogv.OGV;

import com.badlogic.gdx.graphics.g2d.TextureRegion;


public class IllnessDef {
	//Members that reflect to Json
	public String 	name;
	public String 	desc;
	public String[] iconFile;
	public byte 	recipeId;
	
	private TextureRegion _icon;
	
	public TextureRegion getIcon() {
		if(_icon == null) _icon = OGV.asset.getTextureRegion(iconFile);
		return _icon;
	}
}
